package xc.com.course.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhuolizhong
 * @since 2021-06-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TeachplanMedia对象", description="")
@TableName("teachplan_media")
public class TeachplanMedia implements Serializable {

    private static final long serialVersionUID=1L;
    @ApiModelProperty(value = "媒资文件id")
    @TableId(value = "media_id",type = IdType.ASSIGN_UUID)
    private String mediaId;

    @ApiModelProperty(value = "课程计划id")
    private String teachplanId;



    @ApiModelProperty(value = "媒资文件的原始名称")
    private String mediaFileoriginalname;

    @ApiModelProperty(value = "媒资文件访问地址")
    private String mediaUrl;

    @ApiModelProperty(value = "课程Id")
    private String courseid;


}
